package com.ruoyi.system.service;


import com.ruoyi.system.domain.OrderPay;
import com.ruoyi.system.dto.ApiOrderPayAddDto;
import com.ruoyi.system.dto.ApiOrderSelectDto;
import com.ruoyi.system.vo.ApiOrderVo;
import org.springframework.scheduling.annotation.Async;


public interface OrderPayService extends BaseService<OrderPay> {


    void createApiOrder(ApiOrderPayAddDto apiOrderReceiveDto);

    void createApiOrder(ApiOrderPayAddDto apiOrderReceiveDto, String source);

    ApiOrderVo selectApiOrder(ApiOrderSelectDto apiOrderReceiveDto);

    void notifyAgent(OrderPay domain);
    @Async
    void notice(OrderPay orderReceive);



}
